package com.lgj.rocketmq.code;

import java.lang.annotation.*;

/**
 * @author: guangjie.liao
 * @Date: 2023/9/06 20:41
 * @Description: 事务注解，定义事务消息的类型
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface MqTransaction {
    String topic();
}
